import { Axios } from '../axios/axios'
import qs from 'qs'
class productMethod extends Axios {
  // 查询解决方案
  getProduct() {
    return this.request({
      method: "GET",
      url: 'shuoyue/frontCmfProduct'
    })
  }
  // 详情
  getDetail(data) {
    return this.request({
      method: "GET",
      url: 'shuoyue/frontCmfProduct/findCmfProduct?' + qs.stringify(data, { indices: false }),
    })
  }
  // 明细
  getIntroduce(data) {
    return this.request({
      method: "GET",
      url: 'shuoyue/frontCmfProduct/findCmfProductIntroduce?' + qs.stringify(data, { indices: false }),
    })
  }
}

export {
  productMethod
}
